package com.woniuxy.car.commodity.service.core.service.impl;

import com.woniuxy.car.commodity.service.core.entity.CommodityFormat;
import com.woniuxy.car.commodity.service.core.mapper.CommodityFormatMapper;
import com.woniuxy.car.commodity.service.core.service.ICommodityFormatService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 商品规格表 服务实现类
 * </p>
 *
 * @author awz
 * @since 2022-03-01
 */
@Service
public class CommodityFormatServiceImpl extends ServiceImpl<CommodityFormatMapper, CommodityFormat> implements ICommodityFormatService {

    @Override
    public CommodityFormat findOne(Integer commodityId) {

        return baseMapper.findOneByCommodityId(commodityId);
    }
}
